package dao;

import java.util.List;
import javax.persistence.Query;
import entity.Semesters;


public class SemestersDao extends BaseDao<Semesters> {
	
	public static SemestersDao INSTANCE = new SemestersDao();
	
	private SemestersDao() {}

	@SuppressWarnings("unchecked")
	public List<Semesters> findAll() {
		Query query = em.createNamedQuery("Semesters.findAll");
		return query.getResultList();
	}

}
